import config

class TemplateWindow:
    def __init__(self):
        self.show_window = True
        self.window_pos = (config.LEFT_WINDOW_X, config.WINDOW_TOP_MARGIN)
    
    def render(self, imgui):
        if not self.show_window:
            return
        
        imgui.set_next_window_size(300, 90)
        imgui.set_next_window_position(10, 0)
        imgui.begin(
            "Custom window",
            flags=imgui.WINDOW_MENU_BAR
        )
        imgui.text("Custom window with menu bar and borders")
        imgui.end()

        imgui.set_next_window_size(300, 90)
        imgui.set_next_window_position(10, 100)
        imgui.begin("Default Window")
        imgui.text("Default window with title bar")
        imgui.end()
